﻿/* 本文件由reazhuang@outlook.com开发编写 */
td.rea-break-all {
    word-break: break-all;
}

ul.layui-table-tool-panel {
    /*列筛选弹窗高度*/
    max-height: 400px;
}

.layui-table thead th {
    height: 38px;
}

/*行点击变色*/
.wtm-row-this {
    background-color: #87CEFF
}

.layui-table-body table[lay-size='sm'] tr:hover { /*光标行颜色*/
    background-color: rgba(0,148,255,0.3);
}

ul.layui-table-tool-panel {
    max-height: 400px;
    z-index: 1;
}

[wtalign='center'] th, [wtalign='center'] td {
    text-align: center;
}

/*#region 报表用简易表格样式 */

table.layui-table .total td {
    font-weight: bolder;
    color: red;
    font-size: 14px;
}

table.wt-simple-table {
    margin-top: 0px;
}
/*#endregion */

/*#region 表头工具栏 */
.layui-table-tool-self {
    top: 0;
    right: 5px;
}

.layui-table-tool {
    padding: 0 10px 2px 10px;
    min-height: 30px;
    line-height: 30px;
    z-index: auto;
    box-shadow: none;
}
/*#endregion */

/* 表格头部背景色 */
[wtcolor='blue'] .layui-table-header th {
    background: linear-gradient(to bottom,rgba(0,148,255,0.5), rgba(0,255, 255,0.05));
    font-weight: bold
}

/* 偶数行背景色 */
[wtcolor='blue'] .layui-table[lay-even] tr:nth-child(even) {
    background-color: rgba(0,148,255,0.05);
}

td[data-field='BatchError'] {
    color: red;
}
